window.__require = function e(t, o, n) {
    function i(r, a) {
        if (!o[r]) {
            if (!t[r]) {
                var s = r.split("/");
                if (s = s[s.length - 1], !t[s]) {
                    var l = "function" == typeof __require && __require;
                    if (!a && l) return l(s, !0);
                    if (c) return c(s, !0);
                    throw new Error("Cannot find module '" + r + "'")
                }
                r = s
            }
            var p = o[r] = {exports: {}};
            t[r][0].call(p.exports, function (e) {
                return i(t[r][1][e] || e)
            }, p, p.exports, e, t, o, n)
        }
        return o[r].exports
    }

    for (var c = "function" == typeof __require && __require, r = 0; r < n.length; r++) i(n[r]);
    return i
}({
    BaseSingleton: [function (e, t, o) {
        "use strict";
        cc._RF.push(t, "f7481fycf5Bl4Gx3uo+5iEJ", "BaseSingleton");
        var n, i = this && this.__extends || (n = function (e, t) {
            return (n = Object.setPrototypeOf || {__proto__: []} instanceof Array && function (e, t) {
                e.__proto__ = t
            } || function (e, t) {
                for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o])
            })(e, t)
        }, function (e, t) {
            function o() {
                this.constructor = e
            }

            n(e, t), e.prototype = null === t ? Object.create(t) : (o.prototype = t.prototype, new o)
        }), c = this && this.__decorate || function (e, t, o, n) {
            var i, c = arguments.length, r = c < 3 ? t : null === n ? n = Object.getOwnPropertyDescriptor(t, o) : n;
            if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(e, t, o, n); else for (var a = e.length - 1; a >= 0; a--) (i = e[a]) && (r = (c < 3 ? i(r) : c > 3 ? i(t, o, r) : i(t, o)) || r);
            return c > 3 && r && Object.defineProperty(t, o, r), r
        };
        Object.defineProperty(o, "__esModule", {value: !0});
        var r = e("./CanvasScaler"), a = cc._decorator, s = a.ccclass, l = a.property, p = function (e) {
            function t() {
                var t = null !== e && e.apply(this, arguments) || this;
                return t.isInitliazed = !1, t.onHide = null, t.onShow = null, t.gamePause = null, t.gameResume = null, t.gameConnectSocket = null, t.gameDisconnectSocket = null, t.zIndex = 0, t.autoDestroy = !1, t.setSizeScreen = !0, t.alignCenter = !1, t
            }

            var o;
            return i(t, e), o = t, t.hideByName = function (e) {
                var t = o._componentInstances.get(e);
                null != t && t.hide()
            }, t.hideAndDestroyByName = function (e) {
                var t = o._componentInstances.get(e);
                null != t && t.hideAndDestroy()
            }, t.instance = function () {
                var e = cc.js.getClassName(this);
                return o._componentInstances.has(e) ? o._componentInstances.get(e) : null
            }, t.prototype.onLoad = function () {
                this.initliaze()
            }, t.prototype.initliaze = function () {
                var e = this;
                0 == this.isInitliazed && (this.isInitliazed = !0, this.node.zIndex = this.zIndex, this.gamePause = function () {
                    e.handleGamePause()
                }, this.gameResume = function () {
                    e.handleGameResume()
                }, this.gameConnectSocket = function () {
                    return e.handleGameConnectSocket()
                }, this.gameDisconnectSocket = function () {
                    return e.handleGameDisconnect()
                }, this.checkInstance(), this.setSizeScreen && this.node.setContentSize(r.default.instance().node.getContentSize()), this.onInitialize())
            }, t.prototype.checkInstance = function () {
                var e = this.node.name;
                o._componentInstances.get(e) || o._componentInstances.set(e, this)
            }, t.prototype.handleGamePause = function () {
                cc.log(this.node.name + ": Pause"), this.onGamePause()
            }, t.prototype.handleGameResume = function () {
                cc.log(this.node.name + ": Resume"), this.onGameResume()
            }, t.prototype.handleGameConnectSocket = function () {
                cc.log(this.node.name + ": ConnectSocket"), this.onGameConnectSocket()
            }, t.prototype.handleGameDisconnect = function () {
                cc.log(this.node.name + ": DisconnectSocket"), this.onGameDisconnectSocket()
            }, t.prototype.onInitialize = function () {
            }, t.prototype.onGameDisconnectSocket = function () {
            }, t.prototype.onGameConnectSocket = function () {
            }, t.prototype.onGamePause = function () {
            }, t.prototype.onGameResume = function () {
            }, t.prototype.show = function (e) {
                var t;
                if (void 0 === e && (e = null), this.initliaze(), this.alignCenter) {
                    var o = r.default.instance().node.parent.convertToWorldSpaceAR(r.default.instance().node.position);
                    this.node.position = cc.v3(this.node.parent.convertToNodeSpaceAR(o))
                }
                0 == this.node.active && (this.node.active = !0), null === (t = this.onShow) || void 0 === t || t.call(this), null == e || e()
            }, t.prototype.hide = function (e) {
                var t;
                void 0 === e && (e = null), this.initliaze(), this.node.active && (this.node.active = !1), null === (t = this.onHide) || void 0 === t || t.call(this), null == e || e()
            }, t.prototype.hideAndDestroy = function () {
                this.node.destroy()
            }, t.prototype.onDestroy = function () {
                cc.log(this.node.name), this.node.active && (this.node.active = !1), o._componentInstances.delete(this.node.name), this.onHideAndDestroy()
            }, t.prototype.onHideAndDestroy = function () {
            }, t.bundleName = null, t.path = null, t.instantiated = !1, t._componentInstances = new Map, c([l(cc.Integer)], t.prototype, "zIndex", void 0), c([l(cc.Boolean)], t.prototype, "autoDestroy", void 0), c([l(cc.Boolean)], t.prototype, "setSizeScreen", void 0), c([l(cc.Boolean)], t.prototype, "alignCenter", void 0), o = c([s], t)
        }(cc.Component);
        o.default = p, cc._RF.pop()
    }, {"./CanvasScaler": "CanvasScaler"}],
    BundleManager: [function (e, t) {
        "use strict";
        cc._RF.push(t, "61196lumrdExosmEpv6rGjO", "BundleManager"), cc._RF.pop()
    }, {}],
    CanvasScaler: [function (e, t, o) {
        "use strict";
        cc._RF.push(t, "096c1wRMy5J066vjH3fFmfP", "CanvasScaler");
        var n, i = this && this.__extends || (n = function (e, t) {
            return (n = Object.setPrototypeOf || {__proto__: []} instanceof Array && function (e, t) {
                e.__proto__ = t
            } || function (e, t) {
                for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o])
            })(e, t)
        }, function (e, t) {
            function o() {
                this.constructor = e
            }

            n(e, t), e.prototype = null === t ? Object.create(t) : (o.prototype = t.prototype, new o)
        }), c = this && this.__decorate || function (e, t, o, n) {
            var i, c = arguments.length, r = c < 3 ? t : null === n ? n = Object.getOwnPropertyDescriptor(t, o) : n;
            if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(e, t, o, n); else for (var a = e.length - 1; a >= 0; a--) (i = e[a]) && (r = (c < 3 ? i(r) : c > 3 ? i(t, o, r) : i(t, o)) || r);
            return c > 3 && r && Object.defineProperty(t, o, r), r
        };
        Object.defineProperty(o, "__esModule", {value: !0});
        var r = cc._decorator, a = r.ccclass, s = (r.property, function (e) {
            function t() {
                var t = null !== e && e.apply(this, arguments) || this;
                return t.isInitliazed = !1, t.scaleFactor = .86, t.scaleTarget = cc.Vec2.ONE, t.sizeOrigin = new cc.Size(720, 1280), t.sizeDesign = new cc.Size(720, 1280), t.sizeTarget = new cc.Size(720, 1280), t
            }

            var o;
            return i(t, e), o = t, t.instance = function () {
                if (null == o.ins) {
                    var e = new cc.Node("CanvasScaler");
                    e.parent = cc.Canvas.instance.node;
                    var t = e.addComponent(o);
                    t.initliaze(), o.ins = t
                }
                return o.ins
            }, t.prototype.getScaleFactor = function () {
                return this.scaleFactor
            }, t.prototype.getScaleTarget = function () {
                return this.scaleTarget
            }, t.prototype.getSizeDesign = function () {
                return this.sizeDesign
            }, t.prototype.getSizeOrigin = function () {
                return this.sizeOrigin
            }, t.prototype.getSizeTarget = function () {
                return this.sizeTarget
            }, t.prototype.initliaze = function () {
                if (!this.isInitliazed) {
                    this.isInitliazed = !0, cc.log("isMobile: " + cc.sys.isMobile), cc.log("isBrowser: " + cc.sys.isBrowser), cc.log("originSize:" + cc.view.getFrameSize()), cc.log("getFrameSize:" + cc.view.getFrameSize()), cc.log("getVisibleSize:" + cc.view.getVisibleSize()), cc.log("getVisibleOrigin:" + cc.view.getVisibleOrigin()), cc.log("getCanvasSize:" + cc.view.getCanvasSize()), cc.log("getViewportRect:" + cc.view.getViewportRect()), cc.log("getVisibleOriginInPixel:" + cc.view.getVisibleOriginInPixel()), cc.log("getDesignResolutionSize:" + cc.view.getDesignResolutionSize()), cc.log("getVisibleSizeInPixel:" + cc.view.getVisibleSizeInPixel()), cc.log("designResolution:" + cc.Canvas.instance.designResolution), cc.log("winSize:" + cc.winSize), this.sizeOrigin = cc.view.getFrameSize(), this.node.setPosition(cc.v3(0, 0, 0));
                    var e = this.sizeOrigin.width / this.sizeDesign.width * (1 - this.scaleFactor),
                        t = this.sizeOrigin.height / this.sizeDesign.height * this.scaleFactor;
                    cc.log("ratioX: " + e), cc.log("ratioY: " + t);
                    var o = e + t, n = new cc.Size(this.sizeOrigin.width / o, this.sizeOrigin.height / o),
                        i = cc.v2(o, o);
                    cc.log("avarage: " + o), cc.log("Scale: " + i), cc.log("Size: " + n), this.sizeTarget = n, this.scaleTarget = i, this.node.setScale(i), this.node.setContentSize(n)
                }
            }, t.prototype.disableCanvasFit = function () {
                cc.Canvas.instance.fitWidth = !1, cc.Canvas.instance.fitHeight = !1, cc.Canvas.instance.designResolution = this.sizeOrigin, cc.Canvas.instance.node.setContentSize(this.sizeOrigin), cc.Canvas.instance.node.setPosition(cc.v2(this.sizeOrigin.width / 2, this.sizeOrigin.height / 2))
            }, t.ins = null, o = c([a], t)
        }(cc.Component));
        o.default = s, cc._RF.pop()
    }, {}],
    GameController: [function (e, t) {
        "use strict";
        cc._RF.push(t, "e7f2eaMZY5HCahY9//sJ3nW", "GameController"), cc._RF.pop()
    }, {}],
    ScaleFullScreen: [function (e, t, o) {
        "use strict";
        cc._RF.push(t, "90423vWExJBvb6kXpAIo2pn", "ScaleFullScreen");
        var n, i = this && this.__extends || (n = function (e, t) {
            return (n = Object.setPrototypeOf || {__proto__: []} instanceof Array && function (e, t) {
                e.__proto__ = t
            } || function (e, t) {
                for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o])
            })(e, t)
        }, function (e, t) {
            function o() {
                this.constructor = e
            }

            n(e, t), e.prototype = null === t ? Object.create(t) : (o.prototype = t.prototype, new o)
        }), c = this && this.__decorate || function (e, t, o, n) {
            var i, c = arguments.length, r = c < 3 ? t : null === n ? n = Object.getOwnPropertyDescriptor(t, o) : n;
            if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(e, t, o, n); else for (var a = e.length - 1; a >= 0; a--) (i = e[a]) && (r = (c < 3 ? i(r) : c > 3 ? i(t, o, r) : i(t, o)) || r);
            return c > 3 && r && Object.defineProperty(t, o, r), r
        };
        Object.defineProperty(o, "__esModule", {value: !0});
        var r = e("./CanvasScaler"), a = cc._decorator, s = a.ccclass, l = (a.property, function (e) {
            function t() {
                return null !== e && e.apply(this, arguments) || this
            }

            return i(t, e), t.prototype.onLoad = function () {
                this.node.getComponent(cc.Sprite) && (this.node.getComponent(cc.Sprite).sizeMode = cc.Sprite.SizeMode.CUSTOM), this.node.addComponent(cc.Widget), this.widget = this.node.getComponent(cc.Widget), this.widget.target = r.default.instance().node, this.widget.isAlignTop = !0, this.widget.isAlignBottom = !0, this.widget.isAlignLeft = !0, this.widget.isAlignRight = !0, this.widget.top = 0, this.widget.bottom = 0, this.widget.left = 0, this.widget.right = 0
            }, t.prototype.doScale = function () {
                this.widget.updateAlignment()
            }, c([s], t)
        }(cc.Component));
        o.default = l, cc._RF.pop()
    }, {"./CanvasScaler": "CanvasScaler"}],
    ScaleScreen: [function (e, t, o) {
        "use strict";
        cc._RF.push(t, "bba05lnL6FGjZyx4hZ/J7Od", "ScaleScreen");
        var n, i = this && this.__extends || (n = function (e, t) {
            return (n = Object.setPrototypeOf || {__proto__: []} instanceof Array && function (e, t) {
                e.__proto__ = t
            } || function (e, t) {
                for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o])
            })(e, t)
        }, function (e, t) {
            function o() {
                this.constructor = e
            }

            n(e, t), e.prototype = null === t ? Object.create(t) : (o.prototype = t.prototype, new o)
        }), c = this && this.__decorate || function (e, t, o, n) {
            var i, c = arguments.length, r = c < 3 ? t : null === n ? n = Object.getOwnPropertyDescriptor(t, o) : n;
            if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(e, t, o, n); else for (var a = e.length - 1; a >= 0; a--) (i = e[a]) && (r = (c < 3 ? i(r) : c > 3 ? i(t, o, r) : i(t, o)) || r);
            return c > 3 && r && Object.defineProperty(t, o, r), r
        };
        Object.defineProperty(o, "__esModule", {value: !0}), o.AlignMode = o.ScaleScreenType = void 0;
        var r, a, s = e("./CanvasScaler"), l = cc._decorator, p = l.ccclass, u = l.property;
        (function (e) {
            e[e.FIT_IN = 0] = "FIT_IN", e[e.FIT_OUT = 1] = "FIT_OUT"
        })(r = o.ScaleScreenType || (o.ScaleScreenType = {})), function (e) {
            e[e.ONCE = 0] = "ONCE", e[e.ALWAYS = 1] = "ALWAYS"
        }(a = o.AlignMode || (o.AlignMode = {}));
        var h = function (e) {
            function t() {
                var t = null !== e && e.apply(this, arguments) || this;
                return t.fitWidth = !1, t.fitHeight = !1, t.scaleType = r.FIT_IN, t.heightDegree = 0, t.alignMode = a.ONCE, t
            }

            return i(t, e), t.prototype.onLoad = function () {
                this.doScale()
            }, t.prototype.doScale = function () {
                var e, t = cc.winSize, o = s.default.instance().getSizeOrigin();
                e = t.width / t.height > o.width / o.height ? t.width / o.width : t.height / o.height, o.width *= e, o.height *= e;
                var n = o.width / this.node.width, i = o.height / (this.node.height + this.heightDegree);
                this.fitWidth && !this.fitHeight && (this.node.scale = n), this.fitHeight && !this.fitWidth && (this.node.scale = i), this.fitWidth && this.fitHeight && (this.scaleType == r.FIT_IN ? this.node.scale = n < i ? n : i : this.scaleType == r.FIT_OUT && (this.node.scale = n > i ? n : i))
            }, t.prototype.update = function () {
                this.alignMode == a.ALWAYS && this.doScale()
            }, c([u(cc.Boolean)], t.prototype, "fitWidth", void 0), c([u(cc.Boolean)], t.prototype, "fitHeight", void 0), c([u({type: cc.Enum(r)})], t.prototype, "scaleType", void 0), c([u(cc.Integer)], t.prototype, "heightDegree", void 0), c([u({type: cc.Enum(a)})], t.prototype, "alignMode", void 0), c([p], t)
        }(cc.Component);
        o.default = h, cc._RF.pop()
    }, {"./CanvasScaler": "CanvasScaler"}],
    SetToCanvasSize: [function (e, t, o) {
        "use strict";
        cc._RF.push(t, "ab347evuQFHH5uue8GzwUXn", "SetToCanvasSize");
        var n, i = this && this.__extends || (n = function (e, t) {
            return (n = Object.setPrototypeOf || {__proto__: []} instanceof Array && function (e, t) {
                e.__proto__ = t
            } || function (e, t) {
                for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o])
            })(e, t)
        }, function (e, t) {
            function o() {
                this.constructor = e
            }

            n(e, t), e.prototype = null === t ? Object.create(t) : (o.prototype = t.prototype, new o)
        }), c = this && this.__decorate || function (e, t, o, n) {
            var i, c = arguments.length, r = c < 3 ? t : null === n ? n = Object.getOwnPropertyDescriptor(t, o) : n;
            if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(e, t, o, n); else for (var a = e.length - 1; a >= 0; a--) (i = e[a]) && (r = (c < 3 ? i(r) : c > 3 ? i(t, o, r) : i(t, o)) || r);
            return c > 3 && r && Object.defineProperty(t, o, r), r
        };
        Object.defineProperty(o, "__esModule", {value: !0});
        var r = e("../CanvasScaler"), a = cc._decorator, s = a.ccclass, l = (a.property, function (e) {
            function t() {
                return null !== e && e.apply(this, arguments) || this
            }

            return i(t, e), t.prototype.onLoad = function () {
                this.node.width = r.default.instance().node.width, this.node.height = r.default.instance().node.height
            }, c([s], t)
        }(cc.Component));
        o.default = l, cc._RF.pop()
    }, {"../CanvasScaler": void 0}],
    Sun52Mobile2: [function (require, module, exports) {
        "use strict";
        cc._RF.push(module, "456ffasAJVFvrn8ofF5TYjO", "Sun52Mobile2");
        var __extends = this && this.__extends || (extendStatics = function (e, t) {
            return (extendStatics = Object.setPrototypeOf || {__proto__: []} instanceof Array && function (e, t) {
                e.__proto__ = t
            } || function (e, t) {
                for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o])
            })(e, t)
        }, function (e, t) {
            function o() {
                this.constructor = e
            }

            extendStatics(e, t), e.prototype = null === t ? Object.create(t) : (o.prototype = t.prototype, new o)
        }), extendStatics, __decorate = this && this.__decorate || function (e, t, o, n) {
            var i, c = arguments.length, r = c < 3 ? t : null === n ? n = Object.getOwnPropertyDescriptor(t, o) : n;
            if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(e, t, o, n); else for (var a = e.length - 1; a >= 0; a--) (i = e[a]) && (r = (c < 3 ? i(r) : c > 3 ? i(t, o, r) : i(t, o)) || r);
            return c > 3 && r && Object.defineProperty(t, o, r), r
        };
        Object.defineProperty(exports, "__esModule", {value: !0});
        var BaseSingleton_1 = require("./BaseSingleton"), CanvasScaler_1 = require("./CanvasScaler"),
            _a = cc._decorator, ccclass = _a.ccclass, property = _a.property, Sun52Mobile2 = function (_super) {
                function Sun52Mobile2() {
                    var e = null !== _super && _super.apply(this, arguments) || this;
                    return e.pageView = null, e.bg = null, e
                }

                return __extends(Sun52Mobile2, _super), Sun52Mobile2.prototype.onLoad = function () {
                    var e = this;
                    setInterval(function () {
                        var t = e.pageView.getCurrentPageIndex(), o = e.pageView.getPages().length;
                        e.pageView.scrollToPage((t + 1) % o, .8)
                    }, 4e3)
                }, Sun52Mobile2.prototype.scaleBgFull = function () {
                    var e, t = cc.winSize, o = CanvasScaler_1.default.instance().getSizeOrigin();
                    e = t.width / t.height > o.width / o.height ? t.width / o.width : t.height / o.height, this.bg.scaleX = e * o.width / this.bg.width, this.bg.scaleY = e * o.height / this.bg.height
                }, Sun52Mobile2.prototype.taiAppStore = function () {
                    cc.sys.openURL("https://www.baidu.com"), eval('logFirebaseEvent("clickDownloadIos")')
                }, Sun52Mobile2.prototype.taiGooglePlay = function () {
                    cc.sys.openURL("https://www.weibo.html"), eval('logFirebaseEvent("clickDownloadAndroid")')
                }, Sun52Mobile2.prototype.taiApk = function () {
                    cc.sys.openURL("./apk/Sun52.apk"), eval('logFirebaseEvent("clickDownloadApk")')
                }, Sun52Mobile2.prototype.choiWeb = function () {
                    cc.sys.openURL("https://taisun52.click/"), eval('logFirebaseEvent("clickChoiWeb")')
                }, Sun52Mobile2.prototype.facebook = function () {
                    cc.sys.openURL("https://www.tiktok.com/@flying.waves")
                }, Sun52Mobile2.prototype.telegram = function () {
                    cc.sys.openURL("https://www.sohu.com")
                }, Sun52Mobile2.prototype.congDong = function () {
                    cc.sys.openURL("https://line.me/R/ti/p/@257tmjzb?oat_content=url&ts=11051554")
                }, Sun52Mobile2.prototype.hoTro = function () {
                    cc.sys.openURL("https://www.facebook.com/share/j6A7Z3Y72Yd9tvrz/?mibextid=LQQJ4d")
                }, __decorate([property(cc.PageView)], Sun52Mobile2.prototype, "pageView", void 0), __decorate([property(cc.Node)], Sun52Mobile2.prototype, "bg", void 0), Sun52Mobile2 = __decorate([ccclass], Sun52Mobile2), Sun52Mobile2
            }(BaseSingleton_1.default);
        exports.default = Sun52Mobile2, cc._RF.pop()
    }, {"./BaseSingleton": "BaseSingleton", "./CanvasScaler": "CanvasScaler"}],
    Sun52Mobile: [function (require, module, exports) {
        "use strict";
        cc._RF.push(module, "765c2gMXTpLwrJ0LHZWWPcG", "Sun52Mobile");
        var __extends = this && this.__extends || (extendStatics = function (e, t) {
            return (extendStatics = Object.setPrototypeOf || {__proto__: []} instanceof Array && function (e, t) {
                e.__proto__ = t
            } || function (e, t) {
                for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o])
            })(e, t)
        }, function (e, t) {
            function o() {
                this.constructor = e
            }

            extendStatics(e, t), e.prototype = null === t ? Object.create(t) : (o.prototype = t.prototype, new o)
        }), extendStatics, __decorate = this && this.__decorate || function (e, t, o, n) {
            var i, c = arguments.length, r = c < 3 ? t : null === n ? n = Object.getOwnPropertyDescriptor(t, o) : n;
            if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(e, t, o, n); else for (var a = e.length - 1; a >= 0; a--) (i = e[a]) && (r = (c < 3 ? i(r) : c > 3 ? i(t, o, r) : i(t, o)) || r);
            return c > 3 && r && Object.defineProperty(t, o, r), r
        };
        Object.defineProperty(exports, "__esModule", {value: !0});
        var BaseSingleton_1 = require("./BaseSingleton"), CanvasScaler_1 = require("./CanvasScaler"),
            _a = cc._decorator, ccclass = _a.ccclass, property = _a.property, Sun52Mobile = function (_super) {
                function Sun52Mobile() {
                    var e = null !== _super && _super.apply(this, arguments) || this;
                    return e.pageView = null, e.bg = null, e
                }

                return __extends(Sun52Mobile, _super), Sun52Mobile.prototype.onLoad = function () {
                    var e = this;
                    setInterval(function () {
                        var t = e.pageView.getCurrentPageIndex(), o = e.pageView.getPages().length;
                        e.pageView.scrollToPage((t + 1) % o, .8)
                    }, 4e3)
                }, Sun52Mobile.prototype.scaleBgFull = function () {
                    var e, t = cc.winSize, o = CanvasScaler_1.default.instance().getSizeOrigin();
                    e = t.width / t.height > o.width / o.height ? t.width / o.width : t.height / o.height, this.bg.scaleX = e * o.width / this.bg.width, this.bg.scaleY = e * o.height / this.bg.height
                }, Sun52Mobile.prototype.taiAppStore = function () {
                    cc.sys.openURL("https://www.baidu.com"), eval('logFirebaseEvent("clickDownloadIos")')
                }, Sun52Mobile.prototype.taiGooglePlay = function () {
                    cc.sys.openURL("./apk/Sun52.apk"), eval('logFirebaseEvent("clickDownloadAndroid")')
                }, Sun52Mobile.prototype.taiApk = function () {
                    cc.sys.openURL("./apk/Sun52.apk"), eval('logFirebaseEvent("clickDownloadApk")')
                }, Sun52Mobile.prototype.choiWeb = function () {
                    cc.sys.openURL("./web/"), eval('logFirebaseEvent("clickChoiWeb")')
                }, Sun52Mobile.prototype.facebook = function () {
                    cc.sys.openURL("https://www.tiktok.com/@flying.waves")
                }, Sun52Mobile.prototype.telegram = function () {
                    cc.sys.openURL("https://www.sohu.com")
                }, Sun52Mobile.prototype.congDong = function () {
                    cc.sys.openURL("https://line.me/R/ti/p/@257tmjzb?oat_content=url&ts=11051554")
                }, Sun52Mobile.prototype.hoTro = function () {
                    cc.sys.openURL("https://www.facebook.com/share/j6A7Z3Y72Yd9tvrz/?mibextid=LQQJ4d")
                }, __decorate([property(cc.PageView)], Sun52Mobile.prototype, "pageView", void 0), __decorate([property(cc.Node)], Sun52Mobile.prototype, "bg", void 0), Sun52Mobile = __decorate([ccclass], Sun52Mobile), Sun52Mobile
            }(BaseSingleton_1.default);
        exports.default = Sun52Mobile, cc._RF.pop()
    }, {"./BaseSingleton": "BaseSingleton", "./CanvasScaler": "CanvasScaler"}],
    VipClubMobile: [function (require, module, exports) {
        "use strict";
        cc._RF.push(module, "b86ealRgrdMKoJunok0Y6/j", "VipClubMobile");
        var __extends = this && this.__extends || (extendStatics = function (e, t) {
            return (extendStatics = Object.setPrototypeOf || {__proto__: []} instanceof Array && function (e, t) {
                e.__proto__ = t
            } || function (e, t) {
                for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o])
            })(e, t)
        }, function (e, t) {
            function o() {
                this.constructor = e
            }

            extendStatics(e, t), e.prototype = null === t ? Object.create(t) : (o.prototype = t.prototype, new o)
        }), extendStatics, __decorate = this && this.__decorate || function (e, t, o, n) {
            var i, c = arguments.length, r = c < 3 ? t : null === n ? n = Object.getOwnPropertyDescriptor(t, o) : n;
            if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(e, t, o, n); else for (var a = e.length - 1; a >= 0; a--) (i = e[a]) && (r = (c < 3 ? i(r) : c > 3 ? i(t, o, r) : i(t, o)) || r);
            return c > 3 && r && Object.defineProperty(t, o, r), r
        };
        Object.defineProperty(exports, "__esModule", {value: !0});
        var BaseSingleton_1 = require("./BaseSingleton"), CanvasScaler_1 = require("./CanvasScaler"),
            _a = cc._decorator, ccclass = _a.ccclass, property = _a.property, VipClubMobile = function (_super) {
                function VipClubMobile() {
                    var e = null !== _super && _super.apply(this, arguments) || this;
                    return e.pageView = null, e.bg = null, e
                }

                return __extends(VipClubMobile, _super), VipClubMobile.prototype.onLoad = function () {
                    var e = this;
                    setInterval(function () {
                        var t = e.pageView.getCurrentPageIndex(), o = e.pageView.getPages().length;
                        e.pageView.scrollToPage((t + 1) % o, .8)
                    }, 4e3)
                }, VipClubMobile.prototype.scaleBgFull = function () {
                    var e, t = cc.winSize, o = CanvasScaler_1.default.instance().getSizeOrigin();
                    e = t.width / t.height > o.width / o.height ? t.width / o.width : t.height / o.height, this.bg.scaleX = e * o.width / this.bg.width, this.bg.scaleY = e * o.height / this.bg.height
                }, VipClubMobile.prototype.taiAppStore = function () {
                    var link = window.linkAppStore;
                    link || (link = "https://www.baidu.com"), cc.sys.openURL(link), eval('logFirebaseEvent("clickDownloadIos")')
                }, VipClubMobile.prototype.taiGooglePlay = function () {
                    var link = window.linkPlayStore;
                    link || (link = "./apk/Vip52.apk"), cc.sys.openURL(link), eval('logFirebaseEvent("clickDownloadAndroid")')
                }, VipClubMobile.prototype.taiApk = function () {
                    cc.sys.openURL("./apk/Vip52.apk"), eval('logFirebaseEvent("clickDownloadApk")')
                }, VipClubMobile.prototype.choiWeb = function () {
                    cc.sys.openURL("./web/"), eval('logFirebaseEvent("clickChoiWeb")')
                }, VipClubMobile.prototype.facebook = function () {
                    cc.sys.openURL("https://www.tiktok.com/@flying.waves")
                }, VipClubMobile.prototype.telegram = function () {
                    cc.sys.openURL("https://www.sohu.com")
                }, VipClubMobile.prototype.congDong = function () {
                    cc.sys.openURL("https://line.me/R/ti/p/@257tmjzb?oat_content=url&ts=11051554")
                }, VipClubMobile.prototype.hoTro = function () {
                    cc.sys.openURL("https://www.facebook.com/share/j6A7Z3Y72Yd9tvrz/?mibextid=LQQJ4d")
                }, __decorate([property(cc.PageView)], VipClubMobile.prototype, "pageView", void 0), __decorate([property(cc.Node)], VipClubMobile.prototype, "bg", void 0), VipClubMobile = __decorate([ccclass], VipClubMobile), VipClubMobile
            }(BaseSingleton_1.default);
        exports.default = VipClubMobile, cc._RF.pop()
    }, {"./BaseSingleton": "BaseSingleton", "./CanvasScaler": "CanvasScaler"}]
}, {}, ["BaseSingleton", "BundleManager", "CanvasScaler", "GameController", "ScaleFullScreen", "ScaleScreen", "SetToCanvasSize", "Sun52Mobile", "Sun52Mobile2", "VipClubMobile"]);